package client;

import br.com.transitojp.dao.DaoUser;
import br.com.transitojp.model.User;

public class Aplicacao1 {
/*
	DaoUser daoUser = new DaoUser();
	

	public Aplicacao1(){
		cadastrarUser();
		System.out.println("\n-----------FIM--------------");
	}	
	
	

	public void cadastrarUser(){
		User user1 = new User();
		daoUser.begin();
		user1 = new User("Janaina","janaina.militao@gmail.com", "1234", "janaina");
		daoUser.persist(user1);
		daoUser.commit();
		daoUser.close();

	}

	public static void main(String[] Args){
		new Aplicacao1();
	}*/
}
